Skip to content

Conversation

xhochy
Copy link
Contributor

@xhochy xhochy commented Nov 26, 2020

Use the compiler setup from conda-forge inside a conda environment. The compilers in conda-forge can be different and slightly incompatible with the system ones causing some headaches. Also this hopefully helps with initial setup of new contributors.

Is this worth a whatsnew entry?

  • closes #xxxx
  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

@jorisvandenbossche
Copy link
Member

I don't think a whatsnew is needed. But maybe we should update the contributing docs related to installing a compiler? https://pandas.pydata.org/docs/dev/development/contributing.html#installing-a-c-compiler (at mention that that manual step is not needed when installing the env using conda)

Does this also work on Windows? (I thought there you still need to manually install MS build tools in addition?)

@xhochy xhochy changed the title Use conda(-forge) compilers BLD: Use conda(-forge) compilers Nov 26, 2020
@xhochy
Copy link
Contributor Author

xhochy commented Nov 26, 2020

Does this also work on Windows? (I thought there you still need to manually install MS build tools in addition?)

You still need the build tools but I have mentioned the exact command to get the minimally necessary VS2017 components for that. This should also be sufficient for solely-pip-based setups.

@jreback jreback added this to the 1.2 milestone Nov 26, 2020
@jreback jreback added the Build Library building on various platforms label Nov 26, 2020
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm ping on green.

Copy link
Member

@jorisvandenbossche jorisvandenbossche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jorisvandenbossche jorisvandenbossche merged commit 78d1498 into pandas-dev:master Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build Library building on various platforms

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants